package com.ruoyi.web.domain;


import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.io.Serializable;


/**
 * 订单对象 order_record
 * 
 * @author song
 * @date 2024-05-11
 */
public class OrderRecord implements Serializable
{
    private static final long serialVersionUID = 1L;

    private String productNo;


    private String productName;
    private String name;

    private String operatorStatus;
    private String refundStatus;

    private RefundRecord refundRecord;

    private OperatorRecord operatorRecord;

    private Product product;

    public void setProduct(Product product) {
        this.product = product;
    }

    public Product getProduct() {
        return product;
    }

    public void setOperatorStatus(String operatorStatus) {
        this.operatorStatus = operatorStatus;
    }

    public void setRefundStatus(String refundStatus) {
        this.refundStatus = refundStatus;
    }

    public String getOperatorStatus() {
        return operatorStatus;
    }

    public String getRefundStatus() {
        return refundStatus;
    }

    public void setOperatorRecord(OperatorRecord operatorRecord) {
        this.operatorRecord = operatorRecord;
    }

    public void setRefundRecord(RefundRecord refundRecord) {
        this.refundRecord = refundRecord;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public OperatorRecord getOperatorRecord() {
        return operatorRecord;
    }

    public RefundRecord getRefundRecord() {
        return refundRecord;
    }

    public void setProductNo(String productNo)
    {
        this.productNo = productNo;
    }

    public void setProductName(String productName) {
        this.productName = productName;
    }

    public String getProductNo()
    {
        return productNo;
    }

    private String getProductName() {
        return  this.productName;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productName", getProductName())
            .append("productNo", getProductNo())
            .append("refundRecord", getRefundRecord())
            .append("refundStatus", getRefundStatus())
            .append("operatorStatus",getOperatorStatus())
            .append("operatorRecord", getOperatorRecord())
            .toString();
    }


}
